package cn.operation.backend.service;


import cn.operation.base.model.ItfLatestCodePond;
import cn.operation.base.model.WaybillDO;

import java.util.Date;
import java.util.List;

/**
 * Created by Felix on 2017/8/30 9527.
 */
public interface ItfLatestCodePondService {

    /**
     * 获取单据编码列表
     * @param type
     * @return
     * @throws Exception
     */
    List<ItfLatestCodePond> queryCodes(String type) throws Exception;

    /**
     * 添加单据到单据池
     * @param code
     * @param type
     * @return
     * @throws Exception
     */
    Integer addCode(String code, String type) throws Exception;
}
